" 缩进
setlocal tabstop=2 shiftwidth=2 sts=2
function NodeRun()
    :w
    :sp
    :res -5
    :term npm start
endfunction
command Nrun call NodeRun()
nnoremap <buffer> <F5> :call NodeRun()<CR>

function HttpServerRun()
    :w
    :sp
    :res -15
    :term nodemon %
endfunction
command Srun call HttpServerRun()

nnoremap <buffer> sr :call HttpServerRun()<CR>
inoremap <buffer> <M-f> <esc>a(<++>) => {}<esc>i<cr><esc>ko<esc>ki<C-R>=Search_word()<CR>
